home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
Xteq X-Setup
/
xqdcXSP-Setup-EN.exe
/
{app}
/
plugins
/
XQ Control Panel Hide Net.xpl
< prev
next >
Wrap
Text File
|
2000-11-13
|
2KB
|
66 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="3"
"UIPATH"="Appearance\Control Panel\Other Settings"
"NAME"="Visible pages in "Network""
"OSVERSION"="10101"
"LANGUAGE"="VBScript"
"VERSION"="1.06"
"TEXT 1"="Show "File and Print Sharing" page in Network control"
"TEXT 2"="Show "Identification" page in Network control"
"TEXT 3"="Show "Network access control" page in Network control"
"DESCRIPTION 1"="To show a page inside the "Network" control, activate it. To hide it, deactivate it."
"DESCRIPTION 2"="Please note: These settings are for Windows 9x only."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Thanks to CptSiskoX for the settings!"
'All DWORD. 1 = don't show, anything else =show
sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Network\NoFileSharingControl"
sV2="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Network\NoNetSetupIDPage"
sV3="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Network\NoNetSetupSecurityPage"
Sub Plugin_Initialize
i=RegReadValue(sV1)
if i<>1 then SetUIElement 1,true
i=RegReadValue(sV2)
if i<>1 then SetUIElement 2,true
i=RegReadValue(sV3)
if i<>1 then SetUIElement 3,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
Call WriteIt(1,sV1)
Call WriteIt(2,sV2)
Call WriteIt(3,sV3)
Call IndicateSettingChange()
End Sub
Sub WriteIt(ITM,VAL)
b=GetUIElement(ITM)
if b=false then
call RegWriteValue(VAL,1,2)
else
chk=RegReadValue(VAL)
if IsEmpty(chk)=false then
Call RegDeleteValue(VAL)
end if
end if
end sub
Sub Plugin_Terminate
End Sub